<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>角色详情</title>
<link rel="stylesheet" type="text/css" href="$request.getContextPath()/resources/layui/css/layui.css">
<link rel="stylesheet" href="$request.getContextPath()/resources/cws/system/role/view.css"/>
</head>
<body>
<form class="layui-form" action="">
  <div class="layui-form-item">
    <label class="layui-form-label">角色内码</label>
    <div class="layui-input-inline">
      <input type="text" name="roleCode" value="$!role.roleCode" autocomplete="off" class="layui-input" disabled="disabled">
    </div>
  </div>
  <div class="layui-form-item">
    <label class="layui-form-label">角色名称</label>
    <div class="layui-input-inline">
      <input type="text" name="roleName" value="$!role.roleName" autocomplete="off" class="layui-input" disabled="disabled">
    </div>
  </div>
  <div class="layui-form-item">
    <label class="layui-form-label">角色类型</label>
    <div class="layui-input-inline">
      <select name="roleType" disabled="disabled">
        #if($!role.roleType=='admin')
           <option value="admin" selected="selected">管理角色</option>
           <option value="user">普通角色</option>
        #else
           <option value="admin">管理角色</option>
           <option value="user" selected="selected">普通角色</option>
        #end
      </select>
    </div>
  </div>
  <div class="layui-form-item layui-form-text">
    <label class="layui-form-label">角色描述</label>
    <div class="layui-input-block">
      <textarea id="roleDesc" name="remark" placeholder="请输入角色描述" class="layui-textarea" disabled="disabled">$!role.remark</textarea>
    </div>
  </div>
</form>
</body>
<script type="text/javascript" src="$request.getContextPath()/resources/jquery/jquery-3.1.0.min.js"></script>
<script type="text/javascript" src="$request.getContextPath()/resources/layui/layui.js"></script>
<script type="text/javascript" src="$request.getContextPath()/resources/layui/lay/modules/element.js"></script>
<script type="text/javascript" src="$request.getContextPath()/resources/cws/system/role/view.js"></script>
</html>